home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / Xt / XtAppCreateShell.z / XtAppCreateShell
Encoding:
Text File  |  2002-10-03  |  4.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXttttAAAAppppppppCCCCrrrreeeeaaaatttteeeeSSSShhhheeeellllllll((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXttttAAAAppppppppCCCCrrrreeeeaaaatttteeeeSSSShhhheeeellllllll((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtAppCreateShell, XtVaAppCreateShell - create top-level
  10.           widget instance
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           Widget XtAppCreateShell(_a_p_p_l_i_c_a_t_i_o_n__n_a_m_e, _a_p_p_l_i_c_a_t_i_o_n__c_l_a_s_s,
  14.           _w_i_d_g_e_t__c_l_a_s_s, _d_i_s_p_l_a_y, _a_r_g_s, _n_u_m__a_r_g_s)
  15.                 String _a_p_p_l_i_c_a_t_i_o_n__n_a_m_e;
  16.                 String _a_p_p_l_i_c_a_t_i_o_n__c_l_a_s_s;
  17.                 WidgetClass _w_i_d_g_e_t__c_l_a_s_s;
  18.                 Display *_d_i_s_p_l_a_y;
  19.                 ArgList _a_r_g_s;
  20.                 Cardinal _n_u_m__a_r_g_s;
  21.  
  22.           Widget XtVaAppCreateShell(_a_p_p_l_i_c_a_t_i_o_n__n_a_m_e,
  23.           _a_p_p_l_i_c_a_t_i_o_n__c_l_a_s_s, _w_i_d_g_e_t__c_l_a_s_s, _d_i_s_p_l_a_y, ...)
  24.                 String _a_p_p_l_i_c_a_t_i_o_n__n_a_m_e;
  25.                 String _a_p_p_l_i_c_a_t_i_o_n__c_l_a_s_s;
  26.                 WidgetClass _w_i_d_g_e_t__c_l_a_s_s;
  27.                 Display *_d_i_s_p_l_a_y;
  28.  
  29.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  30.           _a_p_p_l_i_c_a_t_i_o_n__n_a_m_e
  31.                     Specifies the name of the application instance.
  32.  
  33.           _a_p_p_l_i_c_a_t_i_o_n__c_l_a_s_s
  34.                     Specifies the class name of this application.
  35.  
  36.           _w_i_d_g_e_t__c_l_a_s_s
  37.                     Specifies the widget class that the application
  38.                     top-level widget should be.
  39.  
  40.           _d_i_s_p_l_a_y   Specifies the display from which to get the
  41.                     resources.
  42.  
  43.           _a_r_g_s      Specifies the argument list from which to get the
  44.                     resources.
  45.  
  46.           _n_u_m__a_r_g_s  Specifies the number of arguments in the argument
  47.                     list.
  48.  
  49.           ...       Specifies the variable argument list from which to
  50.                     get the resources.
  51.  
  52.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  53.           The _X_t_A_p_p_C_r_e_a_t_e_S_h_e_l_l function saves the specified
  54.           application name and application class for qualifying all
  55.           widget resource specifiers.  The application name and
  56.           application class are used as the left-most components in
  57.           all widget resource names for this application.
  58.           _X_t_A_p_p_C_r_e_a_t_e_S_h_e_l_l should be used to create a new logical
  59.           application within a program or to create a shell on another
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXttttAAAAppppppppCCCCrrrreeeeaaaatttteeeeSSSShhhheeeellllllll((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXttttAAAAppppppppCCCCrrrreeeeaaaatttteeeeSSSShhhheeeellllllll((((3333XXXXtttt))))
  71.  
  72.  
  73.  
  74.           display.  In the first case, it allows the specification of
  75.           a new root in the resource hierarchy.  In the second case,
  76.           it uses the resource database associated with the other
  77.           display.
  78.  
  79.           Note that the widget returned by _X_t_A_p_p_C_r_e_a_t_e_S_h_e_l_l has the
  80.           WM_COMMAND property set for session managers (see Chapter
  81.           4).
  82.  
  83.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  84.           XtCreateWidget(3Xt)
  85.           _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  86.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.